<template >
  <div class="account-img">
    <img class="img-bg" src="/wallet1.png" alt="图片加载失败">
    <div class="txt-box">
      <p class="count">0</p>
      <div class="desc">Total revenue(ETH)</div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  methods: {}
}
</script>

<style lang="scss" scoped>
.account-img {
  position: relative;

  .img-bg {
    width: 375px;
    height: 207px;
  }

  .txt-box {
    @include center;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding-bottom: 15px;

    .count {
      margin-bottom: 2px;
      font-size: 36px;
      font-weight: 600;
    }

    .desc {
      margin-top: 2px;
      font-size: 16px;
    }
  }
}
</style>
